<!DOCTYPE html>
<html>
	<head>
		<title> 函数声明 </title>
		<meta charset="utf-8" />
		<script type="text/javascript">
			// 使用function关键字声明
			function sayName(name){
				console.log(name);
			}
			sayName('liu');
			
		</script>
	</head>
	<body>	
	</body>
</html>